package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分站提现对象 distribution_sub
 *
 * @author ruoyi
 * @date 2021-03-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class DistributionSub extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 总金额 */
    @Excel(name = "总金额")
    private Double sumMoney;

    /** 可提现 */
    @Excel(name = "可提现")
    private Double keMoney;

    /** 当前总金额 */
    @Excel(name = "当前总金额")
    private Double sumMoneycopy;

    /** 状态 */
    @Excel(name = "状态")
    private String moneyStrart;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datatime;


    //部门名称
    private String dept_name;

    //用户id
    private  int user_id;

    //部门id
    private int dept_id;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getSumMoney() {
        return sumMoney;
    }

    public void setSumMoney(Double sumMoney) {
        this.sumMoney = sumMoney;
    }

    public Double getKeMoney() {
        return keMoney;
    }

    public void setKeMoney(Double keMoney) {
        this.keMoney = keMoney;
    }

    public Double getSumMoneycopy() {
        return sumMoneycopy;
    }

    public void setSumMoneycopy(Double sumMoneycopy) {
        this.sumMoneycopy = sumMoneycopy;
    }

    public String getMoneyStrart() {
        return moneyStrart;
    }

    public void setMoneyStrart(String moneyStrart) {
        this.moneyStrart = moneyStrart;
    }

    public Date getDatatime() {
        return datatime;
    }

    public void setDatatime(Date datatime) {
        this.datatime = datatime;
    }

    public String getDept_name() {
        return dept_name;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }
}
